{include file="common/mate"}
<body>
<!-- 头部 -->
{include file="common/top"}
<!-- /头部 -->

<div class="main-container container-fluid">
    <div class="page-container">
        <!-- Page Sidebar -->
        {include file="common/left"}
        <!-- Page Sidebar Header-->
        <!-- /Page Sidebar -->
        <!-- Page Content -->
        <div class="page-content">
            <!-- Page Breadcrumb -->
            <div class="page-breadcrumbs">
                <ul class="breadcrumb">
                    <li>
                        <a href="{:url('index/index')}">系统</a>
                    </li>
                    <li>
                        <a href="{:url('brand/lst')}">配置管理</a>
                    </li>
                    <li class="active">修改配置</li>
                </ul>
            </div>
            <!-- /Page Breadcrumb -->

            <!-- Page Body -->
            <div class="page-body">

                <div class="row">
                    <div class="col-lg-12 col-sm-12 col-xs-12">
                        <div class="widget">
                            <div class="widget-header bordered-bottom bordered-blue">
                                <span class="widget-caption">修改配置</span>
                            </div>
                            <div class="widget-body">
                                <div id="horizontal-form">
                                    <form class="form-horizontal" role="form" action="" method="post" enctype="multipart/form-data">
                                        <input type="hidden" name="id" value="{$editres.id}">
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">中文名称</label>
                                            <div class="col-sm-6">
                                                <input class="form-control" id="brand_name" placeholder="" name="ename" value="{$editres.ename}" required="" type="text">
                                            </div>
                                            <p class="help-block col-sm-4 red">* 必填</p>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">英文名称</label>
                                            <div class="col-sm-6">
                                                <input class="form-control" id="brand_name" placeholder="" name="cname" value="{$editres.ename}" required="" type="text">
                                            </div>
                                            <p class="help-block col-sm-4 red">* 必填</p>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">表单类型</label>
                                            <div class="col-sm-6">
                                                <select name="form_type" id="" class="col-sm-2 control-label" required="" >
                                                    <option {if condition="$editres['form_type'] eq '1'"} selected  {/if} value="1" >input</option>
                                                    <option {if condition="$editres['form_type'] eq '2'"} selected  {/if} value="2" >radio</option>
                                                    <option {if condition="$editres['form_type'] eq '3'"} selected  {/if} value="3">checkbox</option>
                                                    <option {if condition="$editres['form_type'] eq '4'"} selected  {/if} value="4">textarea</option>
                                                    <option {if condition="$editres['form_type'] eq '5'"} selected  {/if} value="5">select</option>
                                                </select>

                                            </div>
                                            <p class="help-block col-sm-4 red">* 必填</p>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">配置类型</label>
                                            <div class="col-sm-6">
                                                <select name="conf_type" id="" class="col-sm-2 control-label" required="" >
                                                    <option {if condition="$editres['conf_type'] eq '1'"} selected {/if} value="1">店铺配置</option>
                                                    <option {if condition="$editres['conf_type'] eq '1'"} selected  {/if} value="2">商品配置</option>
                                                </select>
                                            </div>
                                            <p class="help-block col-sm-4 red">* 必填</p>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right" >可选值</label>
                                            <div class="col-sm-6">
                                                <input class="form-control" id="brand_url" placeholder="" name="values" value="{$editres.values}" type="text">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right" >默认值</label>
                                            <div class="col-sm-6">
                                                <input class="form-control" id="brand_url" placeholder="" name="value" value="{$editres.value}" type="text">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-offset-2 col-sm-10">
                                                <button type="submit" class="btn btn-default">保存信息</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <!-- /Page Body -->
        </div>
        <!-- /Page Content -->
    </div>
</div>
{include file="common/js"}
</body></html>